UnregisterAppearanceClient
NEW WITH THE APPEARANCE MANAGER
Makes your application non-Appearance-compliant and turns off the mapping of standard pre-Appearance definition functions to their Appearance-compliant equivalents.
pascal OSStatus UnregisterAppearanceClient (void);
- function result
- A result code. The result code
appearanceProcessNotRegisteredErr
indicates that your process was not registered when you called theUnregisterAppearanceClient
function. For a list of other result codes, see "Result Codes".DISCUSSION
TheUnregisterAppearanceClient
function is automatically called for you when your application terminates. Normally this function does not need to be called. You might want to call this function if you are running a plug-in architecture, and you know that a given plug-in isn't Appearance compliant. In this case you would bracket your use of the plug-in with calls toUnregisterAppearanceClient
(before the plug-in is used) andRegisterAppearanceClient
(after the plug-in is used), so that Appearance is turned off for the duration of the plug-in's usage.